/*
package com.terry.bootdemo.configuration;

import com.terry.bootdemo.Interceptor.TokenIntercepter;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
@Configuration
@ComponentScan(useDefaultFilters = true)
public class InterceptorConfig {
    */
/**
     * 配置拦截器
     * @author lance
     * @param registry
     *//*

    public void addInterceptors(InterceptorRegistry registry) {
        registry.addInterceptor(new TokenIntercepter()).addPathPatterns("/**");
    }
}
*/
